package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.SaasProRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * saas和pro的id对应关系
 * 创建时间 2019/7/14 5:12 PM
 * 修改时间 2019/7/14 5:12 PM
 * @author chy
 * @since v1.0
 * @version v1.0
 */
public interface SaasProRelationModel extends IModel<SaasProRelationEntity> {
    @Override
    Integer insert(SaasProRelationEntity entity);

    void insertBatch(List<SaasProRelationEntity> list);

    @Override
    Integer update(SaasProRelationEntity entity);

    Integer save(SaasProRelationEntity entity);

    Integer deleteByKey(Long key);

    SaasProRelationEntity getByKey(Long key);

    @Override
    List<SaasProRelationEntity> findEntitys(Map<String, Object> param);

    @Override
    Integer getEntitysCount(Map<String, Object> param);
}
